package com.stadium.service;

import com.stadium.dto.BasicsRuleDto;
import com.stadium.entity.BasicsRule;
import com.stadium.vo.BasicsRuleVo;
import com.stadium.vo.searchVo.BasicsRuleSearchVo;

import java.util.List;
import java.util.Map;

/**
 * 规则表
 *
 * @author zq
 * @email 513973172@qq.com
 * @date 2020-01-31 15:13:40
 */
public interface BasicsRuleSV{
	List<BasicsRule> queryBySQL(String sql, Map<String, Object> map);

    void save(BasicsRuleVo basicsRuleVo);

    void saveBatch(List<BasicsRule> list);

    void delete(String id);

    void deleteBatch(String[] ids);

    void update(BasicsRuleVo basicsRuleVo);

    List<BasicsRuleDto> query(BasicsRuleSearchVo searchVo);

		BasicsRuleDto get(String id);

    int getCount(BasicsRuleSearchVo basicsRulesearchVo);

    BasicsRuleDto getByLeagueId(String leagueId);
}
